package com.cn.lyl.thread;

public class ProductorCustomerTest {
    public static void main(String[] args) {
        Customer customer1 = new Customer();
        Productor productor = new Productor();
        Customer customer2 = new  Customer();
        customer1.setName("B");
        productor.setName("A");
        customer2.setName("C");
        productor.start();
        customer1.start();
        customer2.start();
    }
}
